home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
004a
/
grammar2.zip
/
UPDATECG.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-12-29
|
2KB
|
39 lines
ECHO OFF
cls
REM UPDATECG.BAT FOR CG 2.0 (December 1989)
if not exist CG.EXE goto QUIT
if exist CG1.ARC goto QUIT
if %1. == . goto DEF
if not exist %1CG1.ARC goto QUIT
%1pkxarc -r %1cg1 upd*.bat >nul
UPD1 %1 >nul
:DEF
if not exist A:CG1.ARC goto QUIT
A:pkxarc -r A:cg1 upd*.bat >nul
UPD1 A: >nul
:QUIT
cls
ECHO Current drive and directory:
cd
ECHO ╔═══════════════════════════════════════════════════════════════════════╗
ECHO ║ ║
ECHO ║ Something is wrong. Either the Correct Grammar files cannot ║
ECHO ║ be located on the drive and directory shown above or you are ║
ECHO ║ starting from the wrong drive. ║
ECHO ║ ║
if %1. == . goto DEFQUIT
if EXIST %13 echo ║ To update, insert the Correct Grammar disk in a diskette drive. ║
goto QUIT3
:DEFQUIT
if EXIST A:3 echo ║ To update, insert the Correct Grammar disk in a diskette drive. ║
if not exist A:3 echo ║ To update Correct Grammar, insert DISK 1 in your diskette drive. ║
:QUIT3
echo ║ Change to the hard disk drive and subdirectory in which you want ║
echo ║ Correct Grammar updated. Type the command A:UPDATECG. ║
echo ║ If your diskette drive is not A:, type the command d:UPDATECG d: ║
echo ║ where d: represents the diskette drive containing the Correct ║
echo ║ Grammar diskette. ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════════════════════════╝
:END